home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VSMHEIGH.S < prev    next >
Text File  |  1993-03-16  |  1KB  |  39 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Set polymarker height.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vsm_height
  11. _vsm_height:
  12. ;          .cargs    #8,handle.w,height.w
  13.  
  14. handle      =         8
  15. height      =         10
  16.  
  17.           link        a6,#-4                ;* Allocate ptsout[2].
  18.  
  19.           move.w    height(a6),-(sp)    ;* ptsin[1] = height.
  20.           clr.w     -(sp)                ;* ptsin[0] = 0.
  21.           move.l    sp,a0
  22.  
  23. ;          VContrl    #19,,#1
  24.           move.w    handle(a6),-(sp)    ; contrl[6]
  25.           clr.l     -(sp)                ; contrl[5,4]
  26.           clr.l     -(sp)                ; contrl[3,2]
  27.           move.w    #1,-(sp)            ; contrl[1]
  28.           move.w    #19,-(sp)            ; contrl[0]
  29.  
  30.           pea        -4(a6)                ;* -> ptsout
  31.           subq.l    #4,sp                ;* -> intout
  32.           move.l    a0,-(sp)            ;* -> ptsin
  33.           subq.l    #4,sp                ;* -> intin
  34.           pea        16(sp)                ;* -> contrl
  35.  
  36.           jmp        vdicall             ;* Do it, return ptsout[1].
  37.  
  38.           end
  39.